std::enable_shared_from_this::~enable_shared_from_this

From cppreference.com
 
 
 
Dynamic memory management
Uninitialized storage
(C++17)
(deprecated since c++17)
(deprecated since c++17)
(deprecated since c++17)
Garbage collection support
(C++11)
Miscellaneous
(C++11)
(C++11)
(C++11)
C Library
Low level memory management
 
 
~enable_shared_from_this();

Destroys *this.

[edit] See also

(C++11)
smart pointer with shared object ownership semantics
(class template)